<%--
说明：类型值表 管理页面

@author liuxun 2012-03-07
--%>
<%@ include file="../../common/common.jsp"%>
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />

<title>license管理</title>
<script src="jsp/platform/p_type_value/license_index_main.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body>

  <form id="opeForm" name="opeForm" method="post" action="">
    <table style="width: 100%; height: 100%" border="0" cellpadding="0" cellspacing="0" class="editDisplay">
      <tr>
        <td valign="top">
          <%--编辑页面名称标题表格--%>
          <table style="width: 100%" border="0" cellpadding="0" cellspacing="0" class="editCaption">
		  <%--
            <tr>
              <td height="30">&nbsp;</td>
            </tr>
            <tr>
              <td align="center"><font class="editCaptionTitle">license管理</font>&nbsp;<img onclick="showHelpWin('platform/p_type_value/license.htm');" style="cursor: hand" title="联机帮助" src="<c:url value="/images/eclipse/help.gif" />" /></td>
            </tr>
            <tr>
              <td height="5"></td>
            </tr>		  
		   --%>
          </table> <%--编辑部分表格--%>
          <table border="0" align="center" cellpadding="0" cellspacing="0" class="editTableBorder">
            <tr>
              <td>
                <table border="0" align="center" cellpadding="0" cellspacing="0" class="editMainTable">
                  <tr>
                    <td style="height: 10px;" colspan="2" class="editMainConstLabelTD">
                    	<a href="#" id="reloadBtn" class="easyui-linkbutton" plain="true" icon="icon-reload">刷新</a>
                    	<a href="#" id="importBtn" class="easyui-linkbutton" plain="true" icon="icon-in">导入license</a>
                    </td>
                  </tr>
                  
                  <%-- 
                  <tr>
		              <td align="right" class="editMainLabelTD">NSCG 名称：</td>
		              <td class="editMainTD" align="left" nowrap="nowrap">
		              <ext:select id="bastion_ip" name="model.bastion_ip" cachetype="C_BASTION" nameprop="bastion_name" valueprop="bastion_ip" initvalue="${map.bastion_ip }" style="width:150px" orderby="bastion_ip" event="onchange=changeBastion_ip()" /> &nbsp;
		              &nbsp;</td>
                  </tr>                  
                 --%>
                 
                  <c:if test="${map.serialID != null }" >
                  <tr>
		              <td align="right" class="editMainLabelTD">序列号：</td>
		              <td class="editMainTD" id="serialID" align="left" nowrap="nowrap">${map.serialID } &nbsp;</td>
                  </tr>        
                  </c:if>          

                  <tr>
		              <td align="right" class="editMainLabelTD">单位：</td>
		              <td class="editMainTD" id="title" align="left" nowrap="nowrap">${map.Title } &nbsp;</td>
                  </tr>
                  
                  <tr>
                    <td class="editMainLabelTD" align="right" style="width: 40%;">有效期：</td>
                    <td class="editMainTD" id="Validity" align="left" nowrap="nowrap">
                        ${map.Validity}&nbsp;(天)
                    </td>
                  </tr>                    

                  <tr>
		              <td align="right"  class="editMainLabelTD">起始日期：</td>
		              <td class="editMainTD" id="EffectTime" align="left" nowrap="nowrap">${map.EffectTime} &nbsp;</td>
		          </tr>
                  <tr>
		              <td align="right" nowrap="nowrap" class="editMainLabelTD">终止日期：</td>
		              <td class="editMainTD" id="endTime" align="left" nowrap="nowrap">${map.endTime}&nbsp;</td>
                  </tr>    
                  
                  <tr>
		              <td align="right" nowrap="nowrap" class="editMainLabelTD">剩余时间：</td>
		              <td class="editMainTD" id="ExpireTime" align="left" nowrap="nowrap">
		              	<c:if test="${map.ExpireTime <= 30 }" ><font color="red">${map.ExpireTime}&nbsp;(天) </font></c:if>
		              	<c:if test="${map.ExpireTime > 30}" >${map.ExpireTime}&nbsp;(天) </c:if>
		              </td>
                  </tr>                   
                  
                  <tr>
		              <td align="right" nowrap="nowrap" class="editMainLabelTD">最大用户数：</td>
		              <td class="editMainTD" id="MaxUser" align="left" nowrap="nowrap">${map.MaxUser}&nbsp;(人)</td>
                  </tr>  
                  
                  <tr>
		              <td align="right" nowrap="nowrap" class="editMainLabelTD">最大设备数：</td>
		              <td class="editMainTD" id="MaxDevices" align="left" nowrap="nowrap">${map.MaxDevices}&nbsp;(台)</td>
                  </tr>         
                  
                  <tr>
		              <td align="right" nowrap="nowrap" class="editMainLabelTD">当前用户数：</td>
		              <td class="editMainTD" id="users" align="left" nowrap="nowrap">${map.users}&nbsp;(人)</td>
                  </tr>   
                  
                  <tr>
		              <td align="right" nowrap="nowrap" class="editMainLabelTD">当前资源主机：</td>
		              <td class="editMainTD" id="devices" align="left" nowrap="nowrap">${map.devices}&nbsp;(台)</td>
                  </tr>                                                                                 

				  <c:if test="${map.state != null }" >
	                  <tr>
			              <td align="right" nowrap="nowrap" class="editMainLabelTD">提示信息：</td>
			               <td class="editMainTD" align="left" nowrap="nowrap"><font size="16px" color='red'>${map.state}</font>&nbsp;</td>
	                  </tr>		              	
				  </c:if>
				  
				  <c:if test="${map.state == null }" >
				  	<c:if test="${map.ExpireTime <= 30 }" >
				  	  <tr>
			              <td align="right" nowrap="nowrap" class="editMainLabelTD">提示信息：</td>
			               <td class="editMainTD" align="left" nowrap="nowrap">
			               <c:if test="${map.ExpireTime <= 30 }" ><font color="red">请注意联系厂商.. </font></c:if>
			               &nbsp;</td>
	                  </tr>
				  	</c:if>
				  </c:if>				  
                  </tr>
                  <tr>
                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;</td>
                  </tr>
                  <tr>
                    <td style="height: 40px;" colspan="2" class="editMainConstLabelTD">&nbsp; ${map.aaaaaa }</td>
                  </tr>
                  <tr>
                    <td colspan="2" class="editMainBottomTD">&nbsp;
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>

  </form>

</body>
</html>